package cn.edu.Day08;

public class Web implements Runnable {
//    public int count;
//    Person per;
//    public Web(Person per)
//    {
//        this.per=per;
//    }

//    public Web() {
//        this.count=count;
//    }

    @Override
    public void run() {
        //实现网络卖票逻辑
//        for (int i = 10; i >0 ; i--) {
//
//        }
        while (ThreadTest.count>0)
        {
            System.out.println("在网络买票"+ThreadTest.count);
            ThreadTest.count--;
        }


    }
}
